#!/bin/sh

#set -x

SOURCE_DIR=`pwd`
echo ${SOURCE_DIR}
BUILD_DIR=${BUILD_DIR:-../build}
echo ${BUILD_DIR}
BUILD_TYPE=${BUILD_TYPE:-debug}
echo ${BUILD_TYPE}
INSTALL_DIR=${INSTALL_DIR:-../${BUILD_TYPE}-install}
echo ${INSTALL_DIR}
BUILD_NO_EXAMPLES=${BUILD_NO_EXAMPLES:-0}
echo ${ILD_NO_EXAMPLES}

#mkdir -p $BUILD_DIR/$BUILD_TYPE \
#  && cd $BUILD_DIR/$BUILD_TYPE \
#  && cmake \
#           -DCMAKE_BUILD_TYPE=$BUILD_TYPE \
#           -DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
#           -DCMAKE_BUILD_NO_EXAMPLES=$BUILD_NO_EXAMPLES \
#           $SOURCE_DIR \
#  && make $*

# cd $SOURCE_DIR && doxygen

